package cn.yanlin.rule;

import com.netflix.loadbalancer.RandomRule;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhangyanlin
 * @version 1.0
 * @date 2021/10/10 12:49
 */
@Configuration
public class MySelfRule {
    @Bean
    public RandomRule Rule(){
        return new RandomRule();
    }
}
